<?php

use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;

class UserPermissionTableSeeder extends Seeder
{

    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        DB::table('user_permissions')->insert([
            /** 用户组管理 */
            ['id' => 1, 'group_id' => 1, 'title' => '【添加用户组】', 'description' => '', 'slug' => 'usergroup.add', 'http_method' => 'POST', 'http_path' => '/v1/usergroups', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            ['id' => 2, 'group_id' => 1, 'title' => '【删除用户组】', 'description' => '', 'slug' => 'usergroup.delete', 'http_method' => 'DELETE', 'http_path' => '/v1/usergroups/{id}', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            ['id' => 3, 'group_id' => 1, 'title' => '【编辑用户组】', 'description' => '', 'slug' => 'usergroup.edit', 'http_method' => 'POST', 'http_path' => '/v1/usergroups/{id}', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            ['id' => 4, 'group_id' => 1, 'title' => '【获取用户组】', 'description' => '', 'slug' => 'usergroup.get', 'http_method' => 'GET', 'http_path' => '/v1/usergroups/{id}', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            ['id' => 5, 'group_id' => 1, 'title' => '【获取用户组列表】', 'description' => '分页', 'slug' => 'usergroup.list', 'http_method' => 'GET', 'http_path' => '/v1/usergroups', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            ['id' => 6, 'group_id' => 1, 'title' => '【获取全部用户组】', 'description' => '无分页', 'slug' => 'usergroup.list.all', 'http_method' => 'GET', 'http_path' => '/v1/usergroups/all', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            ['id' => 7, 'group_id' => 1, 'title' => '【获取用户组可操作接口】', 'description' => '废弃', 'slug' => 'usergroup.api.list', 'http_method' => 'GET', 'http_path' => '/v1/usergroups/{id}/permissions', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            ['id' => 8, 'group_id' => 1, 'title' => '【编辑用户组可操作接口】', 'description' => '废弃', 'slug' => 'usergroup.api.edit', 'http_method' => 'POST', 'http_path' => '/v1/usergroups/{id}/permissions', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            ['id' => 9, 'group_id' => 1, 'title' => '【获取用户组内用户】', 'description' => '', 'slug' => 'usergroup.user.list', 'http_method' => 'GET', 'http_path' => '/v1/usergroups/{id}/users', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            ['id' => 10, 'group_id' => 1, 'title' => '【获取用户组内菜单】', 'description' => '', 'slug' => 'usergroup.menu.list', 'http_method' => 'GET', 'http_path' => '/v1/usergroups/{id}/menus', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            ['id' => 11, 'group_id' => 1, 'title' => '【编辑用户组内菜单】', 'description' => '', 'slug' => 'usergroup.menu.edit', 'http_method' => 'POST', 'http_path' => '/v1/usergroups/{id}/menus', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            ['id' => 12, 'group_id' => 1, 'title' => '【获取用户组已选菜单】', 'description' => '编辑菜单功能及数据域使用', 'slug' => 'usergroup.menu.selected.all', 'http_method' => 'GET', 'http_path' => '/v1/usergroups/{id}/menus/selected', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            ['id' => 13, 'group_id' => 1, 'title' => '【获取用户组内菜单的功能及数据域】', 'description' => '', 'slug' => 'usergroup.menu.action.all', 'http_method' => 'GET', 'http_path' => '/v1/usergroups/{id}/menus/{menu_id}/actions', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            ['id' => 14, 'group_id' => 1, 'title' => '【编辑用户组内菜单的功能及数据域】', 'description' => '', 'slug' => 'usergroup.menu.action.edit', 'http_method' => 'POST', 'http_path' => '/v1/usergroups/{id}/menus/{menu_id}/actions', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            /** 用户管理 */
            ['id' => 15, 'group_id' => 2, 'title' => '【添加用户】', 'description' => '', 'slug' => 'user.add', 'http_method' => 'POST', 'http_path' => '/v1/users', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            ['id' => 16, 'group_id' => 2, 'title' => '【删除用户】', 'description' => '', 'slug' => 'user.delete', 'http_method' => 'DELETE', 'http_path' => '/v1/users/{id}', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            ['id' => 17, 'group_id' => 2, 'title' => '【编辑用户】', 'description' => '', 'slug' => 'user.edit', 'http_method' => 'POST', 'http_path' => '/v1/users/{id}', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            ['id' => 18, 'group_id' => 2, 'title' => '【获取编辑用户】', 'description' => '编辑用户时展示用', 'slug' => 'user.get.edit', 'http_method' => 'GET', 'http_path' => '/v1/users/{id}/edit', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            ['id' => 19, 'group_id' => 2, 'title' => '【获取用户列表】', 'description' => '', 'slug' => 'user.list', 'http_method' => 'GET', 'http_path' => '/v1/users', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            ['id' => 20, 'group_id' => 2, 'title' => '【上传头像】', 'description' => '', 'slug' => 'user.avatar.add', 'http_method' => 'POST', 'http_path' => '/v1/users/{id}/avatar', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            ['id' => 21, 'group_id' => 2, 'title' => '【获取用户】', 'description' => '', 'slug' => 'user.get', 'http_method' => 'GET', 'http_path' => '/v1/users/{id}', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            ['id' => 22, 'group_id' => 2, 'title' => '【删除头像】', 'description' => '', 'slug' => 'user.avatar.delete', 'http_method' => 'DELETE', 'http_path' => '/v1/users/{id}/avatar', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            ['id' => 23, 'group_id' => 2, 'title' => '【禁用用户】', 'description' => '', 'slug' => 'user.block', 'http_method' => 'GET', 'http_path' => '/v1/users/{id}/block', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            ['id' => 24, 'group_id' => 2, 'title' => '【解禁用户】', 'description' => '', 'slug' => 'user.unblock', 'http_method' => 'GET', 'http_path' => '/v1/users/{id}/unblock', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            ['id' => 25, 'group_id' => 2, 'title' => '【修改密码】', 'description' => '', 'slug' => 'user.password.edit', 'http_method' => 'POST', 'http_path' => '/v1/users/{id}/password', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            ['id' => 26, 'group_id' => 2, 'title' => '【获取当前登陆用户】', 'description' => '', 'slug' => 'user.get.current', 'http_method' => 'GET', 'http_path' => '/v1/users/{id}/current', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            ['id' => 27, 'group_id' => 2, 'title' => '【获取全部用户】', 'description' => '', 'slug' => 'user.list.all', 'http_method' => 'GET', 'http_path' => '/users/all', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            ['id' => 28, 'group_id' => 2, 'title' => '【获取当前用户信息】', 'description' => '登陆用户编辑基础信息展示', 'slug' => 'user.my.get', 'http_method' => 'GET', 'http_path' => '/v1/users/{id}/my', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            ['id' => 29, 'group_id' => 2, 'title' => '【编辑当前用户信息】', 'description' => '', 'slug' => 'user.my.edit', 'http_method' => 'POST', 'http_path' => '/v1/users/{id}/my', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            ['id' => 30, 'group_id' => 2, 'title' => '【获取当前登陆用户菜单】', 'description' => '', 'slug' => 'user.menu.list', 'http_method' => 'GET', 'http_path' => '/v1/users/{id}/menus', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            ['id' => 31, 'group_id' => 2, 'title' => '【清除用户缓存】', 'description' => '', 'slug' => 'user.cache.clear', 'http_method' => 'DELETE', 'http_path' => '/v1/users/{id}/caches/clear', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            ['id' => 32, 'group_id' => 2, 'title' => '【清除用户token】', 'description' => '', 'slug' => 'user.token.clear', 'http_method' => 'DELETE', 'http_path' => '/v1/users/{id}/tokens/clear', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            ['id' => 33, 'group_id' => 2, 'title' => '【重置密码】', 'description' => '管理员重置密码', 'slug' => 'user.password.reset', 'http_method' => 'GET', 'http_path' => '/v1/users/{id}/password/reset', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            ['id' => 34, 'group_id' => 2, 'title' => '【获取用户登陆日志】', 'description' => '', 'slug' => 'user.log.login.list', 'http_method' => 'GET', 'http_path' => '/v1/users/{id}/logs/login', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            ['id' => 35, 'group_id' => 2, 'title' => '【获取用户操作日志】', 'description' => '', 'slug' => 'user.log.operation.list', 'http_method' => 'GET', 'http_path' => '/v1/users/{id}/logs/operation', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            ['id' => 36, 'group_id' => 2, 'title' => '【获取用户拥有的权限】', 'description' => '', 'slug' => 'user.permission', 'http_method' => 'GET', 'http_path' => '/v1/users/{id}/permissions', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            ['id' => 37, 'group_id' => 2, 'title' => '【删除用户token】', 'description' => '废弃', 'slug' => 'user.token.delete', 'http_method' => 'DELETE', 'http_path' => '/v1/users/{id}/tokens', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            ['id' => 413, 'group_id' => 2, 'title' => '【重置全部用户缓存】', 'description' => '', 'slug' => 'user.cache.reset', 'http_method' => 'GET', 'http_path' => '/v1/users/caches/reset', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            ['id' => 414, 'group_id' => 2, 'title' => '【删除用户头像(管理员)】', 'description' => '', 'slug' => 'user.avatar.clear', 'http_method' => 'DELETE', 'http_path' => '/v1/users/{id}/avatar/clear', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            /* 接口分类 */
            ['id' => 38, 'group_id' => 3, 'title' => '【添加接口分类】', 'description' => '', 'slug' => 'group.add', 'http_method' => 'POST', 'http_path' => '/v1/groups', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            ['id' => 39, 'group_id' => 3, 'title' => '【删除接口分类】', 'description' => '', 'slug' => 'group.delete', 'http_method' => 'DELETE', 'http_path' => '/v1/groups/{id}', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            ['id' => 40, 'group_id' => 3, 'title' => '【编辑接口分类】', 'description' => '', 'slug' => 'group.edit', 'http_method' => 'POST', 'http_path' => '/v1/groups/{id}', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            ['id' => 41, 'group_id' => 3, 'title' => '【获取接口分类】', 'description' => '', 'slug' => 'group.get', 'http_method' => 'GET', 'http_path' => '/v1/groups/{id}', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            ['id' => 42, 'group_id' => 3, 'title' => '【获取接口分类列表】', 'description' => '', 'slug' => 'group.list', 'http_method' => 'GET', 'http_path' => '/v1/groups', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            ['id' => 43, 'group_id' => 3, 'title' => '【获取全部接口分类】', 'description' => '', 'slug' => 'group.list.all', 'http_method' => 'GET', 'http_path' => '/v1/groups/all', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            ['id' => 44, 'group_id' => 3, 'title' => '【获取分类内接口】', 'description' => '', 'slug' => 'group.permission.list', 'http_method' => 'GET', 'http_path' => '/v1/groups/{id}/permissions', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            /* 接口 */
            ['id' => 45, 'group_id' => 4, 'title' => '【添加接口】', 'description' => '', 'slug' => 'permission.add', 'http_method' => 'POST', 'http_path' => '/v1/permissions', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            ['id' => 46, 'group_id' => 4, 'title' => '【删除接口】', 'description' => '', 'slug' => 'permission.delete', 'http_method' => 'DELETE', 'http_path' => '/v1/permissions/{id}', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            ['id' => 47, 'group_id' => 4, 'title' => '【编辑接口】', 'description' => '', 'slug' => 'permission.edit', 'http_method' => 'POST', 'http_path' => '/v1/permissions/{id}', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            ['id' => 48, 'group_id' => 4, 'title' => '【获取接口】', 'description' => '', 'slug' => 'permission.get', 'http_method' => 'GET', 'http_path' => '/v1/permissions/{id}', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            ['id' => 49, 'group_id' => 4, 'title' => '【获取接口列表】', 'description' => '', 'slug' => 'permission.list', 'http_method' => 'GET', 'http_path' => '/v1/permissions', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            ['id' => 50, 'group_id' => 4, 'title' => '【获取全部接口】', 'description' => '', 'slug' => 'permission.list.all', 'http_method' => 'GET', 'http_path' => '/v1/permissions/all', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            /* 部门 */
            ['id' => 51, 'group_id' => 5, 'title' => '【添加部门】', 'description' => '', 'slug' => 'department.add', 'http_method' => 'POST', 'http_path' => '/v1/departments', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            ['id' => 52, 'group_id' => 5, 'title' => '【删除部门】', 'description' => '', 'slug' => 'department.delete', 'http_method' => 'DELETE', 'http_path' => '/v1/departments/{id}', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            ['id' => 53, 'group_id' => 5, 'title' => '【编辑部门】', 'description' => '', 'slug' => 'department.edit', 'http_method' => 'POST', 'http_path' => '/v1/departments/{id}', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            ['id' => 54, 'group_id' => 5, 'title' => '【获取部门】', 'description' => '', 'slug' => 'department.get', 'http_method' => 'GET', 'http_path' => '/v1/departments/{id}', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            ['id' => 55, 'group_id' => 5, 'title' => '【获取部门列表】', 'description' => '', 'slug' => 'department.list', 'http_method' => 'GET', 'http_path' => '/v1/departments', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            ['id' => 56, 'group_id' => 5, 'title' => '【获取全部部门】', 'description' => '', 'slug' => 'department.list.all', 'http_method' => 'GET', 'http_path' => '/v1/departments/all', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            ['id' => 57, 'group_id' => 5, 'title' => '【获取部门内用户】', 'description' => '', 'slug' => 'department.user.list', 'http_method' => 'GET', 'http_path' => '/v1/departments/{id}/users', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            /* 附件 */
            ['id' => 71, 'group_id' => 8, 'title' => '【上传附件】', 'description' => '', 'slug' => 'common.attachment.add', 'http_method' => 'POST', 'http_path' => '/v1/attachments', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            ['id' => 72, 'group_id' => 8, 'title' => '【下载附件】', 'description' => '', 'slug' => 'common.attachment.get', 'http_method' => 'GET', 'http_path' => '/v1/attachments/{filename}/download', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            ['id' => 73, 'group_id' => 8, 'title' => '【下载模块内附件】', 'description' => '', 'slug' => 'common.attachment.widget.get', 'http_method' => 'GET', 'http_path' => '/v1/attachments/{filename}/widget/download', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            ['id' => 74, 'group_id' => 8, 'title' => '【删除附件】', 'description' => '', 'slug' => 'common.attachment.delete', 'http_method' => 'POST', 'http_path' => '/v1/attachments/{filename}/delete', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            ['id' => 75, 'group_id' => 8, 'title' => '【上传通用附件】', 'description' => '不用认证，可直接访问', 'slug' => 'common.attachment.common.add', 'http_method' => 'POST', 'http_path' => '/v1/attachments/common', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            /* 菜单 */
            ['id' => 76, 'group_id' => 9, 'title' => '【添加菜单】', 'description' => '', 'slug' => 'menu.add', 'http_method' => 'POST', 'http_path' => '/v1/menus', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            ['id' => 77, 'group_id' => 9, 'title' => '【删除菜单】', 'description' => '', 'slug' => 'menu.delete', 'http_method' => 'DELETE', 'http_path' => '/v1/menus/{id}', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            ['id' => 78, 'group_id' => 9, 'title' => '【编辑菜单】', 'description' => '', 'slug' => 'menu.edit', 'http_method' => 'POST', 'http_path' => '/v1/menus/{id}', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            ['id' => 79, 'group_id' => 9, 'title' => '【获取菜单】', 'description' => '', 'slug' => 'menu.get', 'http_method' => 'GET', 'http_path' => '/v1/menus/{id}', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            ['id' => 80, 'group_id' => 9, 'title' => '【获取菜单树】', 'description' => '', 'slug' => 'menu.list.tree', 'http_method' => 'GET', 'http_path' => '/v1/menus/tree', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            ['id' => 81, 'group_id' => 9, 'title' => '【获取菜单列表】', 'description' => '', 'slug' => 'menu.list', 'http_method' => 'GET', 'http_path' => '/v1/menus', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            ['id' => 82, 'group_id' => 9, 'title' => '【获取全部菜单】', 'description' => '', 'slug' => 'menu.list.all', 'http_method' => 'GET', 'http_path' => '/v1/menus/all', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            ['id' => 83, 'group_id' => 9, 'title' => '【获取菜单下子菜单】', 'description' => '', 'slug' => 'menu.child.get', 'http_method' => 'GET', 'http_path' => '/v1/menus/{id}/children', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            ['id' => 84, 'group_id' => 9, 'title' => '【获取菜单下全部功能】', 'description' => '', 'slug' => 'menu.action.all', 'http_method' => 'GET', 'http_path' => '/v1/menus/{id}/actions', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            /* 菜单功能 */
            ['id' => 85, 'group_id' => 10, 'title' => '【添加菜单功能】', 'description' => '', 'slug' => 'menu.action.add', 'http_method' => 'POST', 'http_path' => '/v1/actions', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            ['id' => 86, 'group_id' => 10, 'title' => '【删除菜单功能】', 'description' => '', 'slug' => 'menu.action.delete', 'http_method' => 'DELETE', 'http_path' => '/v1/actions/{id}', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            ['id' => 87, 'group_id' => 10, 'title' => '【编辑菜单功能】', 'description' => '', 'slug' => 'menu.action.edit', 'http_method' => 'POST', 'http_path' => '/v1/actions/{id}', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            ['id' => 88, 'group_id' => 10, 'title' => '【编辑菜单功能内权限】', 'description' => '', 'slug' => 'menu.action.permission.edit', 'http_method' => 'POST', 'http_path' => '/v1/actions/{id}/permissions', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            ['id' => 89, 'group_id' => 10, 'title' => '【获取菜单功能内全部权限】', 'description' => '', 'slug' => 'menu.action.permission.all', 'http_method' => 'GET', 'http_path' => '/v1/actions/{id}/permissions', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            /* 日志 */
            ['id' => 90, 'group_id' => 11, 'title' => '【获取日志列表】', 'description' => '', 'slug' => 'log.list', 'http_method' => 'GET', 'http_path' => '/v1/logs', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            /* 数据域 */
            ['id' => 106, 'group_id' => 15, 'title' => '【添加数据域】', 'description' => '', 'slug' => 'scope.add', 'http_method' => 'POST', 'http_path' => '/v1/scopes', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            ['id' => 107, 'group_id' => 15, 'title' => '【删除数据域】', 'description' => '', 'slug' => 'scope.delete', 'http_method' => 'DELETE', 'http_path' => '/v1/scopes/{id}', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            ['id' => 108, 'group_id' => 15, 'title' => '【编辑数据域】', 'description' => '', 'slug' => 'scope.edit', 'http_method' => 'POST', 'http_path' => '/v1/scopes/{id}', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            ['id' => 109, 'group_id' => 15, 'title' => '【获取数据域】', 'description' => '', 'slug' => 'scope.get', 'http_method' => 'GET', 'http_path' => '/v1/scopes/{id}', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            ['id' => 110, 'group_id' => 15, 'title' => '【获取数据域列表】', 'description' => '', 'slug' => 'scope.list', 'http_method' => 'GET', 'http_path' => '/v1/scopes', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            ['id' => 111, 'group_id' => 15, 'title' => '【获取全部数据域】', 'description' => '', 'slug' => 'scope.list.all', 'http_method' => 'GET', 'http_path' => '/v1/scopes/all', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            ['id' => 112, 'group_id' => 15, 'title' => '【获取数据内用户】', 'description' => '', 'slug' => 'scope.user.list', 'http_method' => 'GET', 'http_path' => '/v1/scopes/{id}/users', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            /* 通知 */
            ['id' => 254, 'group_id' => 32, 'title' => '【发送系统通知】', 'description' => '', 'slug' => 'notice.add', 'http_method' => 'POST', 'http_path' => '/v1/notices', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            ['id' => 255, 'group_id' => 32, 'title' => '【删除系统通知】', 'description' => '', 'slug' => 'notice.delete', 'http_method' => 'DELETE', 'http_path' => '/v1/notices/{id}', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            ['id' => 256, 'group_id' => 32, 'title' => '【获取用户通知】', 'description' => '', 'slug' => 'notice.my.get', 'http_method' => 'GET', 'http_path' => '/v1/notices/my', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            ['id' => 257, 'group_id' => 32, 'title' => '【获取发送通知列表】', 'description' => '', 'slug' => 'notice.list', 'http_method' => 'GET', 'http_path' => '/v1/notices', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            ['id' => 258, 'group_id' => 32, 'title' => '【获取发送失败的短信】', 'description' => '', 'slug' => 'notice.error.get', 'http_method' => 'GET', 'http_path' => '/v1/notices/errors', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            ['id' => 259, 'group_id' => 32, 'title' => '【获取全部尚未读取的通知】', 'description' => '', 'slug' => 'notice.list.all', 'http_method' => 'GET', 'http_path' => '/v1/notices/all', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            ['id' => 260, 'group_id' => 32, 'title' => '【获取系统通知】', 'description' => '', 'slug' => 'notice.get', 'http_method' => 'GET', 'http_path' => '/v1/notices/{id}', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            ['id' => 261, 'group_id' => 32, 'title' => '【修改通知为已读】', 'description' => '', 'slug' => 'notice.read', 'http_method' => 'GET', 'http_path' => '/v1/notices/{id}/read', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            ['id' => 262, 'group_id' => 32, 'title' => '【标记为已读(批量)】', 'description' => '', 'slug' => 'notice.clear', 'http_method' => 'POST', 'http_path' => '/v1/notices/clear', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            /* 通知-模板 */
            ['id' => 263, 'group_id' => 33, 'title' => '【添加sms模板】', 'description' => '', 'slug' => 'notice.template.add', 'http_method' => 'POST', 'http_path' => '/v1/notice/templates', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            ['id' => 264, 'group_id' => 33, 'title' => '【删除sms模板】', 'description' => '', 'slug' => 'notice.template.delete', 'http_method' => 'DELETE', 'http_path' => '/v1/notice/templates/{id}', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            ['id' => 265, 'group_id' => 33, 'title' => '【编辑sms模板】', 'description' => '', 'slug' => 'notice.template.edit', 'http_method' => 'POST', 'http_path' => '/v1/notice/templates/{id}', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            ['id' => 266, 'group_id' => 33, 'title' => '【获取sms模板】', 'description' => '', 'slug' => 'notice.template.get', 'http_method' => 'GET', 'http_path' => '/v1/notice/templates/{id}', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            ['id' => 267, 'group_id' => 33, 'title' => '【获取sms模板列表】', 'description' => '', 'slug' => 'notice.template.list', 'http_method' => 'GET', 'http_path' => '/v1/notice/templates', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            ['id' => 268, 'group_id' => 33, 'title' => '【获取全部sms模板】', 'description' => '', 'slug' => 'notice.template.all', 'http_method' => 'GET', 'http_path' => '/v1/notice/templates/all', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            /* 通用接口 */
            ['id' => 408, 'group_id' => 54, 'title' => '【登陆】', 'description' => '', 'slug' => 'common.login', 'http_method' => 'POST', 'http_path' => '/v1/login', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            ['id' => 409, 'group_id' => 54, 'title' => '【登出】', 'description' => '', 'slug' => 'common.logout', 'http_method' => 'POST', 'http_path' => '/v1/logout', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            ['id' => 410, 'group_id' => 54, 'title' => '【发送验证码】', 'description' => '', 'slug' => 'common.code.send', 'http_method' => 'POST', 'http_path' => '/v1/code', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            ['id' => 411, 'group_id' => 54, 'title' => '【找回密码】', 'description' => '', 'slug' => 'common.password.reset', 'http_method' => 'POST', 'http_path' => '/v1/reset', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            /* 系统 */
            ['id' => 416, 'group_id' => 55, 'title' => '【获取系统设置列表】', 'description' => '', 'slug' => 'setting.list', 'http_method' => 'GET', 'http_path' => '/v1/settings', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
            ['id' => 417, 'group_id' => 55, 'title' => '【系统设置】', 'description' => '', 'slug' => 'setting.edit', 'http_method' => 'POST', 'http_path' => '/v1/settings', 'is_enabled' => 0, 'data_scope' => '010002', 'created_at' => DB::raw('now()')],
        ]);
    }

}
